package com.woniuxy.dao;

import com.woniuxy.model.City;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CityMapper {
    @Select("select * from city")
    List<City> getCities();
    @Delete("delete from city where id = #{Id}")
    int deleteCity(Integer Id);
}
